package com.inifitness.message.enums;

import com.inifitness.common.basic.BaseEnum;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 消息处理渠道
 *
 * @author sunjinfeng
 * @version 1.0.0
 * @since 2024-05-29 13:11
 */
@Getter
@AllArgsConstructor
public enum MessageChannel implements BaseEnum<Integer> {
  SMS(1, "短信", "smsProcessor"),
  INBOX(2, "站内信", "inboxProcessor"),
  EMAIL(3, "邮件", "emailProcessor"),
  WECHAT_OFFICIAL_ACCOUNT(4, "微信公众号", "wechatOfficialAccountProcessor"),
  TODO(5, "待办", "todoProcessor"),
  REMINDER(6, "提醒", "reminderProcessor"),
  LOG(7, "日志", "logProcessor"),
  DANMAKU(8, "弹幕", "danmakuProcessor"),
  WEBSOCKET(9, "Websocket", "websocketProcessor");
  private final Integer value;

  private final String label;
  private final String sender;
}
